﻿<controls:ChildWindow x:Class="TaskR.Views.LoginView"
                      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
                      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                      xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
                      Width="300" Height="200" 
                      HasCloseButton="False"
                      Title="Login">
  <Grid x:Name="LayoutRoot" Margin="2">
    <Grid.RowDefinitions>
      <RowDefinition />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <StackPanel Grid.Row="0" Margin="15,15,15,0">
      <TextBlock Text="What is your username?" FontSize="18" HorizontalAlignment="Center" />
      <TextBox x:Name="UsernameBox" MaxLength="256" Width="220" FontSize="18" HorizontalAlignment="Center" />
    </StackPanel>
    <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right" Margin="0,0,15,0">
      <Button x:Name="LoginButton" Content="Login" Click="LoginButton_Click" Width="125" FontSize="18" Margin="5" />
    </StackPanel>
  </Grid>
</controls:ChildWindow>